﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BCL.Tool.Async
{
    public class ToolAsyncResult : IAsyncResult
    {
        public object AsyncState
        {
            get;
            set;
        }

        public System.Threading.WaitHandle AsyncWaitHandle
        {
            get;
            set;
        }

        public bool CompletedSynchronously
        {
            get;
            set;
        }

        public bool IsCompleted
        {
            get;
            set;
        }

        /// <summary>
        /// 进度
        /// </summary>
        public int Progress { get; set; }

        /// <summary>
        /// 提示语
        /// </summary>
        public int Msg { get; set; }
    }
}
